package peter.study.spring.videocource.aop.beans;

import org.springframework.stereotype.Component;

@Component
public class User {
	private String name;
	private int age;
	
	public void setAge(int age) {
		this.age = age;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	@Override
	public String toString() {
		return "User[" + name + ", " + age + "]";
	}
}
